package com.kgc.airquality.mapper;

import com.kgc.airquality.pojo.Airqualityindex;
import com.kgc.airquality.pojo.AirqualityindexExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface AirqualityindexMapper {
    int countByExample(AirqualityindexExample example);

    int deleteByExample(AirqualityindexExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Airqualityindex record);

    int insertSelective(Airqualityindex record);

    List<Airqualityindex> selectByExample(AirqualityindexExample example);

    Airqualityindex selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Airqualityindex record, @Param("example") AirqualityindexExample example);

    int updateByExample(@Param("record") Airqualityindex record, @Param("example") AirqualityindexExample example);

    int updateByPrimaryKeySelective(Airqualityindex record);

    int updateByPrimaryKey(Airqualityindex record);
}